FROM openjdk:8-jre-alpine

EXPOSE 8080
RUN mkdir -p /usr/share/zoneinfo/Asia/
ADD Shanghai /usr/share/zoneinfo/Asia/Shanghai
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
RUN mkdir /app
WORKDIR /app
ENTRYPOINT ["/bin/ash","/app/start.sh"]